(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "maishu-jueying", "./component", "./items-editor", "components/common/custom-prop-editors"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    const maishu_jueying_1 = require("maishu-jueying");
    const component_1 = require("./component");
    const items_editor_1 = require("./items-editor");
    const custom_prop_editors_1 = require("components/common/custom-prop-editors");
    let showIcon = "showIcon";
    maishu_jueying_1.Component.setPropEditor({
        componentType: component_1.Categories.name,
        editorType: custom_prop_editors_1.toggle(),
        propName: showIcon,
        displayName: "显示图标"
    });
    maishu_jueying_1.Component.setPropEditor({
        componentType: component_1.Categories.name,
        editorType: items_editor_1.CategoriesEditor,
        propName: "items",
        displayName: "类别"
    });
});
